package com.yugao.fintech.antelope.auth.service;


import com.yugao.fintech.antelope.auth.model.rqrs.CaptchaResp;
import com.yugao.fintech.framework.core.response.Resp;

/**
 * 验证码处理
 */
public interface CaptchaService {
    /**
     * 生成验证码
     */
    Resp<CaptchaResp> createCaptcha();

    /**
     * 校验验证码
     */
    boolean checkCaptcha(String captcha, String uuid);

    /**
     * 删除验证码
     */
    void deleteCaptcha(String uuid);
}
